package com.xingshang.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.xingshang.model.po.Order;
import jakarta.servlet.http.HttpSession;
import org.springframework.stereotype.Service;

@Service
public interface OrderService extends IService<Order> {

    Order submitOrder(Integer userId, Integer addressId, String telphone, Integer payType, HttpSession session,String invoiceType,String title,String taxId,String bankCard);

    String payOrder(Integer userId, String orderNo, HttpSession session,String orderId);

    String orderSuccess(String orderNo, Integer userId, String orderId);
}
